package se.jayway.millionaire.listener;

import se.jayway.millionaire.engine.PlayerChoice;

public interface GameListener {
	/**
	 * Notifies that a new game round has begun. The player may place its
	 * bets using the PlayerChoice object.
	 * 
	 * @param playerChoice 
	 */
	void onNewGameRound(String question, String[] answerAlternatives, PlayerChoice playerChoice);

	/**
	 * Notifies that a game round has finished.
	 * 
	 * @param playerChoice
	 */
	void onFinishedGameRound(PlayerChoice playerChoice, String correctAnswer);

	/**
	 * Notifies that the player has won a price.
	 * 
	 * @param playerChoice
	 */
	void onWin(PlayerChoice playerChoice);
}
